package com.dev.widget.ui.tag;

import ohos.agp.components.Component;

public class TagComponent {
    private Component component;
    private int width;

    public TagComponent(Component component, int width) {
        this.component = component;
        this.width = width;
    }

    public Component getComponent() {
        return component;
    }

    public void setComponent(Component component) {
        this.component = component;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }
}
